package com.cwl.pulgins.domain;

/**
 * @program: pulgin
 * @description: 字段
 * @author: ChenWenLong
 * @create: 2019-09-03 11:49
 **/
public class Column {
    //字段类型
    private String type;
    //字段名称
    private String name;
    //字段内容
    private String comment;
    //是否为空
    private String isNull = "DEFAULT NULL";
    //编码格式
    private String encoding;
    //是否无符号
    private String unsigned;
    //是否创建索引
    private String index;

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getUnsigned() {
        return unsigned;
    }

    public void setUnsigned(String unsigned) {
        this.unsigned = unsigned;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getIsNull() {
        return isNull;
    }

    public void setIsNull(String isNull) {
        this.isNull = isNull;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
